* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 50px;
}

.now {
    font-size: 50px;
}

#restart {
    margin-top: 50px;
    width: 200px;
    height: 45px;
    background-color: rgba(51, 159, 220, 1);
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(170, 170, 170, 1);
    border-radius: 3px;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
}

.map {
    width: 650px;
    height: 650px;
    background: black;
    position: relative;
    overflow: hidden;
}

.tank {
    width: 40px;
    height: 40px;
    background: green;
    position: absolute;
    display: inline-block;
    background: url(./images/tank.png);
    background-size: 100%;
}

.home {
    position: absolute;
    display: inline-block;
    width: 30px;
    height: 30px;
    background: red;
}

.tree {
    position: absolute;
    display: inline-block;
    z-index: 1000;
    width: 45px;
    height: 45px;
    background: url('./images/tree.jpg');
    background-size: 100%;
}

.tank0 {
    background: url(./images/myTank.png);
    background-size: 100%;
}

.bullet {
    width: 5px;
    height: 5px;
    background: white;
    position: absolute;
    display: inline-block;
}

.softWall {
    background: url('./images/softWall.png');
    background-size: 100%;
    width: 30px;
    height: 30px;
    position: absolute;
    display: inline-block;
}

.hardWall {
    background: url('./images/hardWall.png');
    background-size: 100%;
    width: 50px;
    height: 50px;
    position: absolute;
    display: inline-block;
}